<%--
  Created by IntelliJ IDEA.
  User: whb
  Date: 2024/1/20
  Time: 14:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--输出99乘法表--%>
<h3>九九乘法表</h3>
<h4>小脚本方式</h4>
<%
    for (int i = 1; i <10 ; i++) {
        for (int j = 1; j <= i ; j++) {
            %>
<%=(i+"*"+j+"="+i*j+"     ")%>
<%
        }
        %>
<br/>
<%
    }
%>
<hr/>
<h4>out对象方法</h4>
<%
    for (int i = 1; i <10 ; i++) {
        for (int j =1; j <= i; j++) {
            out.print(i+"*"+j+"="+i*j + "&nbsp;&nbsp;&nbsp;&nbsp;");
        }
        out.println("<br/>");
    }
%>
</body>
</html>
